Interview Questions and Answer
Options:
a. stop()
b. run()
c. runThread()
d. stopThread()
Reveal Answer
Options:
a. Runnable
b. Connections
c. Set
d. MapConnections
Reveal Answer
Options:
a. run()
b. start()
c. runThread()
d. startThread()
Reveal Answer
Options:
a. sleep()
b. isAlive()
c. join()
d. stop()
Reveal Answer
Options:
a. A thread can be formed by implementing Runnable interface only.
b. A thread can be formed by a class that extends Thread class.
c. start() method is used to begin
d. run() method is used to begin execution of a thread before start() method in special cases.
Reveal Answer
Options:
a. sleep()
b. isAlive()
c. join()
d. stop()
Reveal Answer
Options:
a. set()
b. make()
c. setPriority()
d. makePriority()
Reveal Answer
Options:
a. It’s a process of handling situations when two or more threads need access to a shared resource.
b. Its a process by which many thread are able to access same shared resource simultaneously.
c. Its a process by which a method is able to access many different threads simultaneously.
d. Its a method that allow to many threads to access any information require.
Reveal Answer
Options:
a. stop()
b. run()
c. runThread()
d. stopThread()
Reveal Answer
Options:
a. Runnable
b. Connections
c. Set
d. MapConnections
Reveal Answer
Options:
a. run()
b. start()
c. runThread()
d. startThread()
Reveal Answer
Options:
a. sleep()
b. isAlive()
c. join()
d. stop()
Reveal Answer
Options:
a. A thread can be formed by implementing Runnable interface only.
b. A thread can be formed by a class that extends Thread class.
c. start() method is used to begin execution of the thread.
d. run() method is used to begin execution of a thread before start() method in special cases.
Reveal Answer
Options:
a. String
b. System
c. Thread
d. Runnable
Reveal Answer
Options:
a. Runnable
b. Connections
c. Set
d. MapConnections
Reveal Answer
Options:
a. get()
b. ThreadPriority()
c. getPriority()
d. getThreadPriority()
Reveal Answer
Options:
a. It’s a process in which two different processes run simultaneously.
b. It’s a process in which two or more parts of same process run simultaneously.
c. Its a process in which many different process are able to access same information.
d. Its a process in which a single process can access information from many sources.
Reveal Answer
Options:
a. Process based
b. Thread based
c. Process and Thread based
d. None of the mentioned
Reveal Answer
Options:
a. Integer
b. Float
c. double
d. long
Reveal Answer
Options:
a. Any one will be executed first lexographically
b. Both of them will be executed simultaneously
c. None of them will be executed
d. It is dependent on the operating system.
Reveal Answer
Options:
a. By multithreading CPU’s idle time is minimized, and we can take maximum use of it.
b. By multitasking CPU’s idle time is minimized, and we can take maximum use of it.
c. C. Two thread in Java can have same priority
d. A thread can exist only in two states, running and blocked.
Reveal Answer
Bestitcourse google plus

Thank you for visiting BestITCourses, How can I help you

Thank you for visiting BestITCourses, How can I help you